package cn.com.code.design;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * @author zhengpei
 * @date 2022/5/16
 */
public class Hwjs03 {

  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    List<String> list = new ArrayList<>();
    while (scanner.hasNext()) {
      String sc = scanner.nextLine();
      list.add(sc);
    }
    scanner.close();
    System.out.println(list.toString());
  }

}
